package behavior.interpreter.impl;

import java.util.Map;

import behavior.interpreter.Expression;
import behavior.interpreter.SymbolExpression;

public class SubExpression extends SymbolExpression {

	public SubExpression(Expression _left, Expression _right) {
		super(_left, _right);
	}

	public int interpreter(Map<String, Integer> var) {
		return super.left.interpreter(var) - super.right.interpreter(var);
	}

}
